package com.kuang.factory.builder;

public class Test {
    public static void main(String[] args) {
        //指挥
        Director director = new Director();
        //指挥指挥工人完成产品
        Product build = director.build(new Worker());

        System.out.println(build.toString());


    }
}
